<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ArticleContent extends Model
{
    /**
     * The primary key for the model.
     *
     * @var string
     */
    protected $primaryKey = 'article_id';

    public $incrementing = false;

    protected $fillable = ['content'];

    protected $table = 'article_contents';

    public function article()
    {
        return $this->belongsTo(Article::class);
    }
}
